package com.qtu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2020-07-07
 */
@ApiModel(value="BmBrand对象", description="")
public class BmBrand implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "品牌名称")
    private String bname;

    @ApiModelProperty(value = "品牌图片")
    @TableField("brandImg")
    private String brandImg;

    @ApiModelProperty(value = "备注")
    private String mark;

    @TableField("createTime")
    private Date createTime;

    @ApiModelProperty(value = "是否推荐 0.不推荐 1.推荐")
    @TableField("isRecom")
    private Integer isRecom;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public String getBrandImg() {
        return brandImg;
    }

    public void setBrandImg(String brandImg) {
        this.brandImg = brandImg;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsRecom() {
        return isRecom;
    }

    public void setIsRecom(Integer isRecom) {
        this.isRecom = isRecom;
    }

    @Override
    public String toString() {
        return "BmBrand{" +
        "id=" + id +
        ", sort=" + sort +
        ", bname=" + bname +
        ", brandImg=" + brandImg +
        ", mark=" + mark +
        ", createTime=" + createTime +
        ", isRecom=" + isRecom +
        "}";
    }
}
